@echo off
rem This installs the custom SPS template used in vmxt2tfs projects
rem on the TFS server. Valid for TFS 2005 that comes with Windows Sharepoint Services 2.0.
rem Must be run by an administrator on the TFS server
rem and the stsadm tool must be in the PATH
rem The following assumes an english Win2K3 installation 
echo Setting the path for a german installation
set PATH=%PATH%;C:\Programme\Gemeinsame Dateien\Microsoft Shared\web server extensions\60\BIN
rem for an english Windows Server 2003
rem set PATH=%PATH%;C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN

echo Adding the template to the server
stsadm -o addtemplate -filename vmxt-de.stp -title "V-Modell XT Template" -description "Visual Studio Team System template for projects generated with vmxt2tfs"
echo Resetting IIS
IISRESET